package com.mq.feign;

import com.common.entity.Order;
import com.common.entity.Rsp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(name = "order",fallback = OrderFeignFallback.class)
public interface OrderFeign {

/**
 * @ClassName
 * @Description : 改变订单状态为，已超时
 * @param :
 * @Return :
 * @Author : 汪雄
 * @Date :
*/
    @PostMapping("/updateOrderStatus")
    Rsp updateOrderStatus(@RequestBody Order order);
}
